package com.example.service;

import com.example.model.Test;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(value = "cloud-provider")
public interface TestService {

    @RequestMapping(value = "/findOne",method = RequestMethod.GET)
    Test findOne();
}
